package com.smarthealthring.mm.contract;

import com.smarthealthring.mm.base.IPresenter;
import com.smarthealthring.mm.base.IView;
import com.smarthealthring.mm.bean.LoginRes;

import java.util.Map;

public interface LoginContract {
    interface View extends IView {

        void getVerifyCodeSuccess();
        void getVerifyCodeFail();

        void loginSuccess(LoginRes response);
        void loginFail();
    }

    interface Presenter extends IPresenter<View> {
        void getVerifyCode(Map<String, String> params);
        void login(Map<String, String> params);

    }
}
